php forum
php mysql forum
php mysql smarty
 
Page 5 of 5 < 1 2 3 4 5
Topic Options
#232554 - 05/20/03 04:20 PM Re: [6.2] My Cookies utility [Re: -Fusion-]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
On one windows box, for sure, cookies were not set when using the header("Location: "); redirect. One fix was to generate a transition page with a <meta> refresh tag. Using the header("Refresh: 0; URL= "); solution is easier and cleaner. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />It was a windows machine causing the problem... go figure. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />Anyhow... the others that have reported this utility as not working were having problems on windows boxes. (I do believe they all were but I could be wrong)<br /><br /><br /><br />
_________________________
~Dave
ChattersOnline.com

Top
#232555 - 05/21/03 11:07 AM Re: [6.2] My Cookies utility [Re: sjsaunders]
Dave_L_dup1 Offline
Addict

Registered: 04/23/02
Posts: 1929
Loc: Virginia, USA
Is "Refresh" a valid HTTP header? If not, shouldn't echo() or print() be used instead of header()?
_________________________
UBB.threads beta tester / threadsdev.com moderator
Software consulting services including UBB.threads problem resolution / installs / upgrades / customization.

Top
#232556 - 05/21/03 02:14 PM Re: [6.2] My Cookies utility [Re: joeuser]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
As far as I can tell, no it's not specified. I found some limited discussions on it's use but only as options against header/Location. I'm still going over the specifications though. Perhaps there is an additional header that can be sent with Location to get the same affect?<br /><br />I'm also looking at the fact that no output is supposed to be sent before a header() call. This could be the reason the cookies are not being expired?<br /><br />I guess I'll keep going over this but for now the header/Refresh does seem to work. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
Page 5 of 5 < 1 2 3 4 5



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks